package com.biz.primus.auth.feign;

import com.biz.primus.base.enums.CommonStatus;
import com.biz.primus.model.sso.auth.vo.RoleVo;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by younger on 17/11/7.
 */
@Component
public class RoleDegradedFeignClient implements RoleFeignClient {
    @Override
    public List<RoleVo> findByStatus(CommonStatus status) {
        return new ArrayList <RoleVo>();
    }

    @Override
    public void addOrUpdate(RoleVo roleVo) {

    }

    @Override
    public RoleVo getRole(Long id) {
        return new RoleVo();
    }

    @Override
    public Boolean delete(Long id) {
        return false;
    }

    @Override
    public Boolean isExist(RoleVo roleVo) {
        return false;
    }
}
